<?php
require_once('../include/connect.inc.php');
if($_REQUEST['del_id'] != "") //¶éÒ ¤èÒ del_id äÁèà·èÒ¡Ñº¤èÒÇèÒ§à»ÅèÒ
	{
$del_id = $_REQUEST['del_id'];
$sql_del = "delete from tb_set_of_test where set_id = '$del_id' ";
	mysql_query($sql_del) or die(mysql_error());
$sql_del = "delete from tb_set_detail where set_id = '$del_id' ";
	mysql_query($sql_del) or die(mysql_error());
$sql_del = "delete from tb_agree where set_id = '$del_id' ";
	mysql_query($sql_del) or die(mysql_error());
$sql_del = "delete from tb_gen_torand where set_id = '$del_id' ";
	mysql_query($sql_del) or die(mysql_error());
		header("location:frm_manage_set.php");
			exit();
	}
?>
